package patterns.structures.decorator.internet;

public class ConcreteDecorator1 extends Decorator {

	ConcreteDecorator1(Component component) {
		super(component);
	}
 
	@Override
	public void doSomething() {
		super.doSomething();
		this.doAnotherThing();
	}

	private void doAnotherThing(){
		System.out.println("Function B");
	}
	
}
